<admintpl file="header" />
<link rel="stylesheet" href="__PUBLIC__/css/simple_upload.css" type="text/css" />
</head>
<body>
	<div class="wrap">
		<div class="control-group">
			<div class="span4" style="margin-left: 40px;">
				总扫描数量：{$total}
			</div>
		</div>
	</div>
	<div class="wrap">
		<form method="post" id="form_submit" class="form-horizontal js-ajax-form" action="" >
			<div class="control-group">
				<label class="span1 control-label" style="width: 90px;">开始时间：</label>
				<div class="span4" style="width: 220px;">
					<input type="text" name="start_time" id="start_time" class="js-datetime"  value="" autocomplete="off">
				</div>
				<div class="span4" style="width: 220px;">
					<input type="text" name="end_time" id="end_time" class="js-datetime"  value="" autocomplete="off">
				</div>
				<div class="span4" style="width: 50px;">
					<input type="button" id="submit" name="" class=""  value="查询">
				</div>
				<div class="control-group">
					<div class="span4" id="find_count">

					</div>
				</div>
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
	<script src="__PUBLIC__/js/layer/layer.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/content_addtop.js"></script>
	<script type="text/javascript" >
		$("#submit").click(function () {
			var start_time = $("#start_time").val()+':00';
			var end_time   = $("#end_time").val()+':00';
			$.ajax({
				type:"post",
				async:false,
				url:"{:U('Admin/Qrcode/find')}",
				data:'start_time='+start_time+'&end_time='+end_time,
				dataType:"text",
				success:function(data){
					$("#find_count").html("扫描数量："+data);
				}
			});
		});

	</script>
</body>
</html>